package com.zzl.bonds.ticket.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zzl.apidoc.annotation.ApidocModel;
import com.zzl.apidoc.annotation.ApidocModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 兑付申请单
 *
 * @author sunpp
 * @date 2022-02-16 11:14:06
 */
@Data
@ApidocModel
@SuppressWarnings("javadoc")
public class TickecashUpdateDto implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApidocModelProperty(description = "主键", example = "")
    private String id;
    @ApidocModelProperty(description = "凭证编号", example = "")
    private String ticketNo;
    @ApidocModelProperty(description = "1、自建", example = "")
    private Integer ticketSource;
    @ApidocModelProperty(description = "开单企业id", example = "")
    private String openEnterpriseId;
    @ApidocModelProperty(description = "开单企业名称", example = "")
    private String openEnterpriseName;
    @ApidocModelProperty(description = "收单企业id", example = "")
    private String receiveEnterpriseId;
    @ApidocModelProperty(description = "收单企业名称", example = "")
    private String receiveEnteroriseName;
    @ApidocModelProperty(description = "持单企业id", example = "")
    private String ownEnterpriseId;
    @ApidocModelProperty(description = "持单企业名称", example = "")
    private String ownEnterpriseName;
    @ApidocModelProperty(description = "凭证金额", example = "")
    private Double ticketAmount;
    @ApidocModelProperty(description = "还款金额", example = "")
    private Double repayAmount;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApidocModelProperty(description = "开单日期", validate = "yyyy-MM-dd HH:mm:ss")
    private Date invoiceTime;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApidocModelProperty(description = "到期日期", validate = "yyyy-MM-dd HH:mm:ss")
    private Date cashTime;
    @ApidocModelProperty(description = "兑付状态", example = "")
    private Integer ticketStatus;
    @ApidocModelProperty(description = "审批状态", example = "")
    private Integer approveStatus;
    @ApidocModelProperty(description = "企业id,权限使用", example = "")
    private String enterpriseId;
    @ApidocModelProperty(description = "部门id", example = "")
    private Integer orgId;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApidocModelProperty(description = "创建时间", validate = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApidocModelProperty(description = "修改时间", validate = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    @ApidocModelProperty(description = "创建人", example = "")
    private Integer creatorId;

}
